<?php session_start(); ?>
<?php
  if($_SESSION['uname']){
    $_SESSION['uname']="";
    $_SESSION['uid']="";
    echo "注销成功!页面将转向首页<script type='text/javascript'>setTimeout(function(){window.location.href='../index.php'},1000)</script>";
  }
?>